package net.office.mapper;

import java.util.List;
import net.office.bean.WorkTable;
import net.office.bean.WorkTableExample;
import org.apache.ibatis.annotations.Param;

public interface WorkTableMapper {
    long countByExample(WorkTableExample example);

    int deleteByExample(WorkTableExample example);

    int deleteByPrimaryKey(Integer workId);

    int insert(WorkTable record);

    int insertSelective(WorkTable record);

    List<WorkTable> selectByExample(WorkTableExample example);

    WorkTable selectByPrimaryKey(Integer workId);

    int updateByExampleSelective(@Param("record") WorkTable record, @Param("example") WorkTableExample example);

    int updateByExample(@Param("record") WorkTable record, @Param("example") WorkTableExample example);

    int updateByPrimaryKeySelective(WorkTable record);

    int updateByPrimaryKey(WorkTable record);
}